package com.henu.engineer.service.teacher.cl

import com.henu.engineer.dao.mapper.teacher.CourseGroupMemberXmlMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
 *
 * @author noexcept
 * @since 2021/8/13 10:55
 */
@Service
class CourseGroupCLService {

    @Autowired
    lateinit var courseGroupMemberXmlMapper: CourseGroupMemberXmlMapper

    /**
     * 为某个课程组新添一名成员
     */
    fun addCourseGroupMember(courseGroupId: String, teacherId: String) =
        courseGroupMemberXmlMapper.insertSingle(courseGroupId, teacherId)


}